package com.gcxy.controller;


import com.gcxy.conf.result.R;
import com.gcxy.dto.AddDivValDTO;
import com.gcxy.dto.DicValPageDTO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 数据字典 前端控制器
 * </p>
 *
 * @author author
 * @since 2024-12-25
 */
@RestController
@RequestMapping("/data-dic-val")
@Api(value = "DataDicValController",tags = "数据字典值管理")
public class DataDicValController {
	@ApiOperation(value = "新增字典值")
	@PostMapping("/addDivVal")
	public R addDivVal(@RequestBody AddDivValDTO addDivValDTO){
		return null;
	}
	@ApiOperation(value = "根据id启用停用字典值")
	@PostMapping("/updateDivValStatus")
	public R updateDivValStatus(Integer valId){
		return null;
	}
	@ApiOperation(value = "获取所有字典值")
	@PostMapping("/getAllDivVal")
	public R getAllDivVal(){
		return null;
	}
	@ApiOperation(value = "分页多条件查询字典值")
	@PostMapping("/getDivValByPage")
	public R getDivValByPage(@RequestBody DicValPageDTO dicValPageDTO){
		return null;
	}
}
